package com.yzsj.socket.business.service.impl;

import com.yzsj.socket.business.dao.SceneviewDao;
import com.yzsj.socket.business.domain.vo.SceneviewVO;
import com.yzsj.socket.business.service.SceneviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class SceneviewServiceImpl implements SceneviewService {
    @Autowired
    private SceneviewDao sceneviewDao;

    @Override
    public SceneviewVO get(Integer id) {
        return sceneviewDao.get(id);
    }

    @Override
    public List<SceneviewVO> list(Map<String, Object> map) {
        return sceneviewDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return sceneviewDao.count(map);
    }

    @Override
    public int save(SceneviewVO sceneview) {
        return sceneviewDao.save(sceneview);
    }

    @Override
    public int update(SceneviewVO sceneview) {
        return sceneviewDao.update(sceneview);
    }

    @Override
    public int remove(Integer id) {
        return sceneviewDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return sceneviewDao.batchRemove(ids);
    }

    @Override
    public void updateByTagId(List<String> tagids) {
        sceneviewDao.updateByTagId(tagids);
    }

    @Override
    public void updateNotByTagId(List<String> tagids) {
        sceneviewDao.updateNotByTagId(tagids);
    }

    @Override
    public void updateAllisNotAlarm() {
        sceneviewDao.updateAllisNotAlarm();
    }

}
